package cn.micai.base.thread;

/**
 * 描述：
 * <p>
 *
 * @author: 赵新国
 * @date: 2018/6/7 17:48
 */
public class MyRunnable implements Runnable {

    @Override
    public void run() {
        try {
            System.out.println(Thread.currentThread().getName()+" Start");
            // thread sleeps for 4 secs
            Thread.sleep(4000);
            System.out.println(Thread.currentThread().getName()+" end");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
